package cn.lili.modules.promotion.entity.dos;

import cn.lili.mybatis.model.BaseStandardEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

@EqualsAndHashCode(callSuper = true)
@Data
@TableName("li_ticket_poll")
@ApiModel(value = "嘉宾表")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TicketPoll extends BaseStandardEntity {
    @ApiModelProperty(name = "嘉宾名称")
    private String pollName;

    @ApiModelProperty(name = "嘉宾图片")
    private String picture;

    @ApiModelProperty(name = "当前票数")
    private Integer ticketNumber;

    @ApiModelProperty(name = "是否已投票")
    @TableField(exist = false)
    private Boolean isVote;

    @ApiModelProperty(name = "标题")
    private String title;

    @ApiModelProperty(name = "描述")
    private String remark;
}
